home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 018a / keyws5.zip / QCONFIG.WS5 (.txt) next >
WordStar Document  |  1990-12-13  |  15KB  |  588 lines

  1. *  QCONFIG.WS    -- Configuration file for QEDIT2 to emulate WordStar 5.x
  2. *
  3. *  First Written: 13-Dec-90   Tim Farley    Based on QCONFIG.WS
  4. *                                           For QEdit 2.1.
  5. *
  6. *  ------------------------------------------------------------------------ 
  7. *  NOTE:  WE RECOMMEND YOU PRINT THIS FILE OUT AND REFER TO IT AS YOU
  8. *         RUN THE QCONFIG PROGRAM TO CONFIGURE YOUR COPY OF QEDIT.
  9. *
  10. *  This configuration also contains most of the Alt and Function keys
  11. *  that QEdit uses by default (most of which are not functional in WordStar).
  12. *
  13. *  The following commands that are in the default QCONFIG.DAT are not
  14. *  assigned here, so you might want to find keys for them:
  15. *
  16. *  InsertLine, MakeCtrOfScreen, MakeTopOfScreen, MarkLine, Match,
  17. *  ShiftLeft, ShiftRight
  18. *
  19. *  NOTE:  There are also other commands in the manual that aren't assigned
  20. *         keys, even in the default QCONFIG.DAT.
  21. *
  22. *  ------------------------------------------------------------------------ 
  23. *
  24. *  Below are other QCONFIG options you should set to closely duplicate
  25. *  the default WS5 configuration.  You will have to select these
  26. *  from the menus within QCONFIG.  For any options not listed here, just
  27. *  hit <RETURN> to keep the default, or configure to your preference:
  28. *
  29. *  (A)dvanced options:
  30. *  -------------------
  31. *  .
  32. *  Do you want the return command to split lines in insert mode? [Y] : YES
  33. *  .
  34. *  Do you want the ESCAPE command to invoke the menus? [Y] : NO
  35. *
  36. *
  37. *  (G)eneral options:
  38. *  ------------------
  39. *  Do you want the del_ch command to join lines if at EOL? [Y] : YES
  40. *  Should PQuit, Exit and File return to the edit file prompt? [Y] : YES
  41. *  .
  42. *  Delete white space after words with del_rt_word command (Y/N)? [Y] : NO
  43. *  .
  44. *  Terminate files with a Control Z? [N] : YES
  45. *  .
  46. *  Prompt for filename on open window? [N] : YES
  47. *  Close window when a file is quit? [Y] : YES
  48. *  .
  49. *  Insert line blocks ABOVE the cursor line? [N] : YES
  50. *
  51. *  ------------------------------------------------------------------------ 
  52. *  SEE DEFAULT QCONFIG.DAT FOR FURTHER INSTRUCTIONS ON MODIFYING THIS FILE.
  53. *
  54.  
  55. *
  56. * function key set
  57. *
  58.  
  59. f1                 QuickHelp
  60. *
  61. * F2 is Undo, which both recovers deleted text & cancels pending operations.
  62. *       See also ^U for the same command.
  63. * NOTE: WS5 only recovers one deleted item, QEdit will keep a list.
  64. *
  65. f2                 MacroBegin UnKill Jump skip: Escape skip:
  66. *
  67. * F3 and F4 select print attributes in WS5.  QEdit has no equivalent.
  68. *
  69. * So we put the orphaned EditFile on F3.
  70. *
  71. f3                 EditFile
  72. f4
  73. f5                 DelLine
  74. f6                 DelRtWord
  75. f7                 MacroBegin WrapPara PrevPosition
  76. *
  77. * F8 inserts a ruler line in WS5.  QEdit doesn't have one.
  78. *
  79. f8
  80. f9                 SaveFile
  81. *
  82. * F10 does save/done when editing, and completes dialog boxes too.
  83. *     The jump here lets us do both.
  84. *
  85. f10                MacroBegin File Jump skip: Return skip:
  86.  
  87. * enhanced keyboard only
  88. f11
  89. f12
  90.  
  91. *
  92. * #F1 is Display On/Off in WS5.  QEdit doesn't have that.
  93. *
  94. #f1
  95. #f2                CenterLine
  96. *
  97. * #F3 and #F4 are Spell checks in WS5.  QEdit doesn't have a spelling
  98. *     checker, so we retain the defaults.
  99. *
  100. #f3                Sort
  101. #f4
  102. #f5                DeleteBlock
  103. #f6                UnmarkBlock
  104. #f7                MoveBlock
  105. *
  106. * CopyBlock leaves the *source* marked in WS5.  QEdit always leaves the
  107. *           *destination* marked.
  108. *
  109. #f8                CopyBlock
  110. #f9                MarkBlockBegin
  111. #f10               MarkBlockEnd
  112.  
  113. * enhanced keyboard only
  114. #f11
  115. #f12
  116.  
  117. ^f1                Find
  118. ^f2                FindReplace
  119. ^f3                RepeatFind
  120. ^f4                GotoLine
  121. ^f5                SetPrintLeftMargin
  122. ^f6                SetRmargin
  123. *
  124. * ^F7 is set paragraph margin in WS5.  No equivalent in QEdit.
  125. *
  126. ^f7
  127. ^f8                MacroBegin BegLine #12 SplitLine CursorDown BegLine
  128. ^f9                BegLine
  129. ^f10               EndLine
  130.  
  131. * enhanced keyboard only
  132. ^f11
  133. ^f12
  134.  
  135. *
  136. * To *exactly* emulate WordStar, the Alt-Function keys would have these
  137. * definitions:
  138. *
  139. * @f1                MacroBegin #179
  140. * @f2                MacroBegin #196
  141. * @f3                MacroBegin #218
  142. * @f4                MacroBegin #191
  143. * @f5                MacroBegin #192
  144. * @f6                MacroBegin #217
  145. * @f7                MacroBegin #194
  146. * @f8                MacroBegin #193
  147. * @f9                MacroBegin #195
  148. * @f10               MacroBegin #180
  149. *
  150. * ...but since QEdit has a much better BoxDraw mode, we will put that
  151. * here instead, along with a few other commands that got stranded:
  152. *
  153. @f1                ToggleBoxType
  154. @f2                ToggleBoxDraw
  155. @f3                ToggleSmartTabs
  156. @f4                ToggleEGA43
  157. @f5                ScreenLeft
  158. @f6                ScreenRight
  159. @f7                Shell
  160. @f8
  161. @f9                Dos
  162. @f10               ShowEntryScreen
  163.  
  164. * enhanced keyboard only
  165. @f11
  166. @f12
  167.  
  168. *
  169. * special keys
  170. *
  171.  
  172. cursorup           CursorUp
  173. cursordown         CursorDown
  174. cursorleft         CursorLeft
  175. cursorright        CursorRight
  176. ^cursorleft        WordLeft
  177. ^cursorright       WordRight
  178. *
  179. * You might prefer BegLine and EndLine for the next two
  180. *
  181. home               MacroBegin BegScreen BegLine
  182. end                MacroBegin EndScreen EndLine
  183. ^home              BegFile
  184. ^end               EndFile
  185. pgup               PageUp
  186. pgdn               PageDown
  187. ^pgup              ScrollUp
  188. ^pgdn              ScrollDown
  189.  
  190. #tab               TabLt
  191. tab                TabRt
  192.  
  193. ins                ToggleInsert
  194.  
  195. *
  196. *  NOTE:  If you would prefer the WordStar 3.x originals, change the next
  197. *         three definitions to the following:
  198. *
  199. *               del          Backspace
  200. *               backspace    Cursorleft
  201. *               ^backspace   Backspace
  202. *
  203. del                DelCh
  204. *
  205. * QEdit has a command Backspace for the Backspace key.  But it behaves a little
  206. * differently in Insert Mode than it does in Overwrite Mode.
  207. *
  208. * This macro makes backspace work the way it does in INSERT MODE,
  209. * regardless of whether we are in insert mode now or not.  This is closest
  210. * to WordStar 5's use of Backspace.
  211. *
  212. backspace          MacroBegin CursorLeft JFalse join: DelCh Jump end: join: CursorUp JFalse end: EndLine JoinLine end:
  213.  
  214. ^backspace         DelCh
  215.  
  216. enter              Return
  217. ^enter             ExecuteScrap
  218. escape             Escape
  219.  
  220. *
  221. * These are QEdit definitions we will retain.  Remove the words Paste, Copy
  222. * and Cut on the next three lines if you would prefer these keys retain
  223. * their WS5 definitions.
  224. *
  225. grey*              Paste
  226. grey+              Copy
  227. grey-              Cut
  228. #del
  229. #ins
  230. `
  231. ~
  232. /
  233.  
  234. ^prtsc             MacroBegin SaveFile MainMenu "P" BegLine
  235. ^2
  236. ^6                 ToggleIndent
  237. ^[                 Escape
  238. ^\
  239. *
  240. * Macro to edit the file whose name is sitting at the cursor in the editor
  241. *
  242. ^]                 MacroBegin AltWordSet MarkWord Copy DefaultWordSet EditFile Paste Return
  243. *
  244. * The following is an undocumented window sizing key in WS5.  Cannot emulate
  245. * in QEdit because window sizing depends on window position in QEdit.
  246. *
  247. ^-
  248.  
  249. *
  250. * alternate keys
  251. *
  252. * Only the ones that invoke the menus are from WS5, the rest are from
  253. * the default QEdit definition.
  254. *
  255.  
  256. @a                 DropAnchor
  257. @b                 MacroBegin MainMenu 'b'
  258. @c                 CopyBlock
  259. @d                 DelLine
  260. @e                 MacroBegin MainMenu 'e'
  261. @f                 MacroBegin MainMenu 'f'
  262. *
  263. * There is no "Goto" menu in QEdit, so we will go to the Search menu, which
  264. * is closest.
  265. *
  266. @g                 MacroBegin MainMenu 's'
  267. @h                 QuickHelp
  268. @i                 ToggleTabsOut
  269. @j                 JoinLine
  270. @k                 MarkColumn
  271. *
  272. * There is no "Layout" menu in QEdit, so we will go to the Print menu, which
  273. * is closest.
  274. *
  275. @l                 MacroBegin MainMenu 'p'
  276. @m                 MacroBegin MainMenu 'm'
  277. @n                 NextFile
  278. @o                 MacroBegin MainMenu 'o'
  279. @p                 MacroBegin MainMenu 'p'
  280. @q                 MacroBegin MainMenu 'q'
  281. @r                 ReadBlock
  282. @s                 MacroBegin MainMenu 's'
  283. *
  284. * These next three start with Control-B in the default.
  285. * We make them Alt-T (for "text buffers") to free up Control-B for WrapPara.
  286. *
  287. @t_a               AppendScrBuff
  288. @t_l               GetScrBuff
  289. @t_s               StoreScrBuff
  290. @u                 UnmarkBlock
  291. @v                 ToggleTabsExpand
  292. @w                 MacroBegin MainMenu 'w'
  293. @x                 GExit
  294. @y                 GSave
  295. @z                 CopyOverBlock
  296. @1                 Upper
  297. @2                 Lower
  298. @3                 Flip
  299. @4
  300. @5
  301. @6
  302. @7
  303. @8
  304. @9
  305. @0
  306. @-
  307. *
  308. * This is a QEdit default macro, not WS5.
  309. *
  310. @=                 MacroBegin MarkWord Copy Find Paste Return Return
  311.  
  312. *
  313. * control keys
  314. *
  315.  
  316. ^a                 WordLeft
  317. ^b                 WrapPara
  318. ^c                 PageDown
  319. ^d                 CursorRight
  320. ^e                 CursorUp
  321. ^f                 WordRight
  322. ^g                 DelCh
  323. *
  324. * You might prefer "Backspace" for the following key:
  325. *
  326. ^h                 MacroBegin CursorLeft JFalse join: DelCh Jump end: join: CursorUp JFalse end: EndLine JoinLine end:
  327. ^i                 TabRt
  328. ^j                 QuickHelp
  329. *
  330. * BLOCK COMMANDS  (^K)
  331. *
  332. * Note that unlike WordStar, QEdit makes no distinction between copying within
  333. * one window, and copying between two windows.  There is only one block marked
  334. * at any given moment.
  335. *
  336. ^k_a               CopyBlock
  337. ^k_b               MarkBlockBegin
  338. ^k_c               CopyBlock
  339. ^k_d               File
  340. *
  341. * ^KE lets you rename an arbitrary file in WordStar.  QEdit only lets you
  342. *    rename THIS file.
  343. *
  344. ^k_e               ChangeFilename
  345. ^k_f               Dos
  346. *
  347. * Note that unlike WordStar, QEdit makes no distinction between moving within
  348. * one window, and moving between two windows.  There is only one block marked
  349. * at any given moment.
  350. *
  351. ^k_g               MoveBlock
  352. ^k_h               UnmarkBlock
  353. *
  354. * Column Replace mode doesn't exist in QEdit.  However, you can use QEdit's
  355. * CopyOverBlock and PasteOver to achieve the same thing.
  356. *
  357. ^k_i
  358. *
  359. * NOTE:  This kills the *current* file on disk in QEdit, while in WordStar
  360. *        it prompts you for what file to kill.
  361. *
  362. ^k_j               KillFile
  363. ^k_k               MarkBlockEnd
  364. *
  365. * ^KL (changed logged disk) has no equivalent in QEdit.  You can achieve
  366. * the same thing by hitting ^KF then typing the equivalent DOS command.
  367. *
  368. ^k_l
  369. *
  370. * QEdit doesn't have any math functions to put on ^KM.
  371. *
  372. ^k_m
  373. *
  374. * ^KN should be "toggle column block", but QEdit doesn't do that.  Use
  375. * the MarkColumn command to work with column blocks.
  376. *
  377. ^k_n               NextFile
  378. *
  379. * ^KO (copy a file) could be done with a macro in QEdit
  380. *
  381. ^k_o
  382. *
  383. * ^KP is close to PrintAll in original WordStar, but PrintBlock is safer
  384. *
  385. ^k_p               PrintBlock
  386. ^k_q               PQuit
  387. ^k_r               ReadBlock
  388. ^k_s               SaveFile
  389. *
  390. * WS5's ^KT is "save as".  In QEdit, WriteBlock does that if NO BLOCK IS MARKED.
  391. *
  392. ^k_t               WriteBlock
  393. ^k_u
  394. ^k_v               MoveBlock
  395. ^k_w               WriteBlock
  396. ^k_x               File
  397. ^k_y               DeleteBlock
  398. *
  399. * QEdit's sort works a little differently than WS5's does.  Be sure to
  400. * read the READ.ME file on how to use QEdit's Sort.
  401. *
  402. ^k_z               Sort
  403. ^l                 RepeatFind
  404. *
  405. * Ctrl-M should be synonymous with Return, but we'll bow to QEdit's convention
  406. *
  407. ^m                 MacroRecord
  408. ^n                 SplitLine
  409. *
  410. * ONSCREEN COMMANDS (^O)
  411. *
  412. * There are no equivalents for the next two in QEdit.
  413. *
  414. ^o_a
  415. ^o_b
  416. ^o_c               CenterLine
  417. *
  418. * There are no equivalents for the next four in QEdit.
  419. *
  420. ^o_d
  421. ^o_e
  422. ^o_g
  423. ^o_h
  424. ^o_i               SetCtabWidth
  425. *
  426. * ^OJ is "toggle justification" which QEdit doesn't have
  427. *
  428. ^o_j
  429. ^o_k               HorizontalWindow
  430. ^o_l               SetPrintLeftMargin
  431. ^o_m               ResizeWindow
  432. *
  433. * QEdit doesn't have the next three, so we will retain QEdit's definitions.
  434. *
  435. ^o_n               NextWindow
  436. ^o_o               OneWindow
  437. ^o_p               PrevWindow
  438. *
  439. ^o_r               SetRMargin
  440. *
  441. * QEdit doesn't have the next three.
  442. *
  443. ^o_s
  444. ^o_t
  445. ^o_v
  446. *
  447. ^o_w               ToggleWordWrap
  448. *
  449. * QEdit doesn't have an equivalent for release margins, ToggleWordWrap is close.
  450. *
  451. ^o_x               ToggleWordWrap
  452. *
  453. * This is a QEdit definition
  454. *
  455. ^o_z               ZoomWindow
  456. *
  457. ^p                 Literal
  458. *
  459. * QUICK COMMANDS (^Q)
  460. *
  461. ^q_a               FindReplace
  462. ^q_b               GotoBlockBeg
  463. ^q_c               EndFile
  464. ^q_d               EndLine
  465. ^q_e               BegScreen
  466. ^q_f               Find
  467. *
  468. * QEdit has no "find character," just use the normal Find.
  469. *
  470. ^q_g
  471. ^q_h
  472. ^q_i               GotoLine
  473. *
  474. * QEdit does not have the following one.
  475. *
  476. ^q_j
  477. ^q_k               GotoBlockEnd
  478. *
  479. * Since QEdit doesn't have a spell checker, we will retain it's original
  480. * definition for the next one.
  481. *
  482. ^q_l               UndoCursorline
  483. *
  484. * QEdit doesn't have equivalents for the next three.
  485. *
  486. ^q_m
  487. ^q_n
  488. ^q_o
  489. *
  490. ^q_p               PrevPosition
  491. *
  492. * ^QQ repeats the *following* command in WS5.  In QEdit it repeats the
  493. * *previous* command.
  494. *
  495. ^q_q               RepeatCmd
  496. ^q_r               BegFile
  497. ^q_s               BegLine
  498. *
  499. * QEdit has no equivalent for the following.
  500. *
  501. ^q_t
  502. *
  503. * Hit <Ctrl B><Ctrl QQ><1000><Enter> to simulate the following.
  504. *
  505. ^q_u
  506. *
  507. * ^QV does "Last Find" in WordStar.  This is pretty close.
  508. *
  509. ^q_v               PrevPosition
  510. *
  511. * ^QW (continuous scroll down) has no equivalent in QEdit
  512. *
  513. ^q_w
  514. ^q_x               EndScreen
  515. ^q_y               DelToEol
  516. *
  517. * ^QZ (continuous scroll up) has no equivalent in QEdit
  518. *
  519. ^q_z
  520. *
  521. * The following two are actually "delete to begin of line", but this is
  522. * close as we can come, since we can't do macros on two-keys.
  523. *
  524. ^q_del             DelLtWord
  525. ^q_^-              DelLtWord
  526. *
  527. ^r                 PageUp
  528. ^s                 CursorLeft
  529. ^t                 DelRtWord
  530. ^u                 MacroBegin UnKill Jump skip: Escape skip:
  531. ^v                 ToggleInsert
  532. ^w                 ScrollUp
  533. ^x                 CursorDown
  534. ^y                 DelLine
  535. ^z                 ScrollDown
  536.  
  537. *
  538. * other enhanced only keys
  539. *
  540. @'
  541. @,
  542. @.
  543. @/
  544. @;
  545. @[
  546. @\
  547. @]
  548. @`
  549. @backspace
  550. @enter
  551. @escape
  552. @grey*             PasteOver
  553. @grey+
  554. @grey-
  555. @grey/
  556. @greycursordown
  557. @greycursorleft
  558. @greycursorright
  559. @greycursorup
  560. @greydel
  561. @greyend
  562. @greyhome
  563. @greyins
  564. @greypgdn
  565. @greypgup
  566. @greyenter
  567. @tab
  568.  
  569. greyenter          Return
  570. ^greyenter         ExecuteScrap
  571. ^centercursor
  572. ^cursordown        LineDown
  573. ^cursorup          LineUp
  574. ^del
  575.  
  576. ^grey*
  577. ^grey+
  578. ^grey-
  579. ^grey/
  580. ^ins
  581. ^tab
  582.  
  583. centercursor
  584.  
  585. *
  586. * EOF: QCONFIG.WS5
  587. *
  588.